/*
 * @Description: 车间作业路由
 *
 */
import Layout from '@/layout'
export const workshopWork = {
  path: '/workshop',
  component: Layout,
  redirect: '/workshop/registration',
  meta: { title: '车间作业', icon: 'icon-wuliaoguanli' },
  children: [
    {
      path: 'registration',
      name: 'Registration',
      component: () => import('@/views/workshopWork/registration'),
      meta: { title: '报工登记', icon: 'icon-fenlei' }
    },
    {
      path: 'picking',
      name: 'Picking',
      component: () => import('@/views/workshopWork/picking'),
      meta: { title: '生产领料', icon: 'icon-wuliaoguanli' }
    },
    {
      path: 'productionStorage',
      name: 'ProductionStorage',
      component: () => import('@/views/workshopWork/productionStorage'),
      meta: { title: '生产入库', icon: 'icon-ruku' }
    },
    {
      path: 'workshopCompletionStatistics',
      name: 'WorkshopCompletionStatistics',
      component: () => import('@/views/workshopWork/workshopCompletionStatistics'),
      meta: { title: '完工统计', icon: 'icon-shouyichejian' }
    },
    {
      path: 'proStatistics',
      name: 'ProStatistics',
      component: () => import('@/views/workshopWork/proStatistics'),
      meta: { title: '生产统计', icon: 'icon-cuoqingdengji' }
    }
  ]
}
